<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
</html>
<script>
    const param = `{"rs":[["rm",["f3KQim"]],["rm",["f3KQrm"]],["rm",["f3KQ_n"]],["rm",["f3KQ8n"]],["rm",["f3KQgn"]],["rm",["f3KQpn"]],["rm",["f3KQxn"]],["rm",["f3KQ4o"]],["rm",["f3KQco"]],["rm",["f3KQko"]],["rm",["f3KQdp"]],["rm",["f3KQop"]],["addChd",["f3KQ63",[
['zul.sel.Listitem','f3KQwh',{_loaded:true,_index:0},[
['zul.sel.Listcell','f3KQyh',{label:'封**'},[]],
['zul.sel.Listcell','f3KQzh',{label:'封**'},[]],
['zul.sel.Listcell','f3KQ_i',{label:'身份证'},[]],
['zul.sel.Listcell','f3KQ0i',{label:'431022********2224'},[]],
['zul.sel.Listcell','f3KQ1i',{label:'431022********2224'},[]]]]]]],["setAttr",["f3KQ63","visibleItemCount",1]],["setAttr",["f3KQd3","totalSize",1]],["setAttr",["f3KQ47","totalSize",0]]],"rid":11}`
    // const text = JSON.stringify(param)
    // console.log(text)
    // console.log(text.match(/Toolbarbutton\",\"([A-z0-9]+)\",\{\$onClick:true,sclass:\"link\",label:\"详情\"/))
    // ["zul.wgt.Toolbarbutton","pAEMwp",{"$onClick":true,"sclass":"link","label":"详情"}
    // const list = [...text.matchAll(/"zul\.wgt\.Toolbarbutton","([A-z0-9]+)",\{"\$onClick":true,"sclass":"link","label":"详情"/g)]
    // const reg = new RegExp(/"zul\.wgt\.Toolbarbutton","([A-z0-9]+)",\{"\$onClick":true,"sclass":"link","label":"详情"/g)
    // const reg = new RegExp(/Toolbarbutton\',\'([A-z0-9]+)\',\{\$onClick:true,sclass:\'link\',label:\'详情\'/g)
    // const text = "['zul.utl.Iframe','x8GMva',{id:'iframe',width:'100%',height:'100%',vflex:'1',prolog:'\\n\\t\\t',src:'http://135.127.20.194:11013/crmd-crm-web/app/asset/asset-query/asset-query.jsp?reqParam=qw%2B'},[]]"
    // console.log(text.match(/,src:\'(.+)\'\},/))

    console.log('-------------------------------------------')
    // const reg = new RegExp(/,src:\'(.+)\'\},/)
    // console.log(reg.exec(param))

    // const reg = new RegExp(/\[\["rm",\["(([A-z0-9]+))"\]\]/)
    // console.log(reg.exec(param)[1])

    // const reg = new RegExp(/Toolbarbutton\',\'([A-z0-9]+)\',\{\$onClick:true,sclass:\'link\',label:\'详情\'/g)
    // console.log(reg.exec(param)[1])
    // console.log(list[0][1])

    const list = ['大小：43.84 GB', '类型: 电影', '媒介: UHD Blu-ray DIY', '编码: H.264(AVC)', '音频编码: DTS-HD MA', '分辨率: 1080p', '制作组: Other']
    let data = ''
    let index = list.findIndex(item => item.indexOf('分辨率:') !== -1)
    if (index >= 0) {
        data = list[index].split('分辨率:')[1]
    }
    console.log(data)

</script>
